package ar.edu.unq.wannaplay.utils;

import java.io.Serializable;

import ar.edu.unq.wannaplay.dtos.ClientDTO;

public class ClientEditer implements Serializable {

    private static final long serialVersionUID = 1L;

    private String name;

    private String email;

    private String address;

    private String town;

    private int id;

    public ClientEditer(final ClientDTO client) {
        this.setName(client.getName());
        this.setEmail(client.getEmail());
        this.setAddress(client.getAddress());
        this.setTown(client.getTown());
        this.setId(client.getId());
    }

    public ClientEditer() {
        email = "";
        address = "";
        town = "";
        name = "";
    }

    public void setEmail(final String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setTown(final String town) {
        this.town = town;
    }

    public String getTown() {
        return town;
    }

    public void setAddress(final String adress) {
        address = adress;
    }

    public String getAddress() {
        return address;
    }

    public int getId() {
        return id;
    }

    public void setId(final int id) {
        this.id = id;
    }

}
